import java.util.Date;


public class Notification
{
   private String time;
   private CustomerAccount customer;
   private String content;
   
   public Notification(CustomerAccount c)
   {
	   customer=c;
	   Date timeStamp=new Date();
	   time=timeStamp.toString();
   }
   
   public String generateNotification()
   {
	   content= "ID: "+customer.getAccountID()+"\nTime: "+
	   time+"\nCustomer:"+customer.getName()+"Notification: "+
	   "You have a DVD ready for pick up.";   
	   
	   return content;
   }
   
   public void notifyCustomer()
   {
	   System.out.println(generateNotification());
   }
}
